home *** CD-ROM | disk | FTP | other *** search
- 47
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- DisableMouse
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baDisableMouse allows you to disable mouse clicks.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baDisableMouse( Disable , WindowHandle )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer, Integer.
- --- RECORDSEPARATOR ---
- WindowHandle is the handle of the window to disable. To disable clicks on all
- --- RECORDSEPARATOR ---
- windows, use 0.
- --- RECORDSEPARATOR ---
- If Disable is true, mouse clicks will be disabled.
- --- RECORDSEPARATOR ---
- If Disable is false, mouse clicks will be enabled again - the WindowHandle
- --- RECORDSEPARATOR ---
- argument is ignored.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer.
- --- RECORDSEPARATOR ---
- When disabling the mouse, returns 1 if the function was successful, otherwise 0.
- --- RECORDSEPARATOR ---
- When enabling the mouse, will always return 1.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set MouseOff = baDisableMouse( true , baWinHandle() )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- MouseOff := baDisableMouse( true , baWinHandle() )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- If you disable the mouse using this function, make sure that you enable the
- --- RECORDSEPARATOR ---
- function before your application quits.
- --- RECORDSEPARATOR ---
- Note that the cursor will still be visible and movable.